package com.ifind.exception;

/**
 * @Description TODO
 * @author Carlos
 * @date 2020/10/24 11:51
 * @version 1.0
 **/
public class ExecutionException extends Exception{

    private final Object obj;

    public ExecutionException(Object obj) {
        this("", obj);
    }

    public ExecutionException(String message) {
        this(message, null);
    }

    public ExecutionException(String message, Object obj) {
        super(message, null, false, false);
        this.obj = obj;
    }

    public Object getObject() {
        return this.obj;
    }

}
